package com.jsh.erp.feign.system;

import com.jsh.erp.datasource.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "jsh-system", path = "/jshERP-boot/remote/api/user", contextId = "UserRemoteClient")
public interface UserRemoteClient {
    // 获取当前用户信息
    @GetMapping("/getCurrentUser")
    User getCurrentUser() throws Exception;
}
